import request from '/@/utils/request';
const modulePath = '/workbench';

//我发起的事件单
export const getMyOrderList = (query: any) => {
	return request({
		url: `${modulePath}/eventOrder/MyOrderList`,
		method: 'post',
		data: query,
	});
};

// 事件单来源
export const getEvenPage = (query: any) => {
	return request({
		url: `${modulePath}/eventOrder/evenPage`,
		method: 'get',
		params: query,
	});
};
// 事件单发起
export function fetchStart(query?: Object) {
	return request({
		url: `${modulePath}/eventOrder/start`,
		method: 'POST',
		data: query,
	});
}
